﻿using Microsoft.Extensions.DependencyInjection;

namespace Zocono.WCS.HangfireHost.StartAndStopService
{
    public static class HostedServiceExpand
    {
        /// <summary>
        /// 添加启动服务的拓展
        /// </summary>
        /// <param name="services"></param>
        public static void AddHostedServiceExpand(this IServiceCollection services)
        {
            //这里要添加服务
            services.AddHostedService<StartAndStopCheckService>();

        }

    }
}
